package org.stvd.entities.admin;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.stvd.entities.base.BaseEntity;

public class TreeNode extends BaseEntity {

	private static final long serialVersionUID = 8141817004444954877L;
    private String id ;
    private String text ;
    private String iconCls ;
    private Boolean active = false ;
    private Map<String, String> attributes = new HashMap<String, String>();  
    private List<TreeNode> children ;
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getText() {
        return text;
    }
    public void setText(String text) {
        this.text = text;
    }
    public String getIconCls() {
        return iconCls;
    }
    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }
    public List<TreeNode> getChildren() {
        return children;
    }
    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
    public void setAttributes(Map<String, String> attributes) {
        this.attributes = attributes;
    }
    public Map<String, String> getAttributes() {
        return attributes;
    }
    public Boolean getActive() {
        return active;
    }
    public void setActive(Boolean active) {
        this.active = active;
    }
}
            